

<?php  if (isset($_GET['alert']) && !empty($_GET['alert'])) {
		$alert =$_GET['alert'];
		echo "<script type='text/javascript'>alert('$alert');</script>";
     if (!(isset($_SESSION['login'])) || !isset($_SESSION['senha'])) {
  header('location: login.html');
 }
    if($_SESSION['permissao'] === '1'){
       header('location: index.php');
     }
	}

?>
<form action="index.php?page=funcionario/creatvcadastro.php" method="post">
	<fieldset id="formulario" class="field">
      <legend>Pesquisar Cadastro</legend>
      <p>
    	  <label for="mat">
    	    <input type="radio" name="RadioGroup1" value="1" id="RadioGroup1_0" />
    	    Matricula:
    	  </label>
          <input name="mat" id="mat" type="text" />
    	 

    	  <br />
   	    <label for="nome">
    	    <input type="radio" name="RadioGroup1" value="3" id="RadioGroup1_2" />
    	    Nome Funcionário:
   	    </label>
        <input name="nome" id="nome" type="text"/>

 <br />
        
        <label for="inatv">
          <input type="radio" name="RadioGroup1" value="2" id="RadioGroup1_1" />
          Registros Inativos
        </label>
            
            <input type="hidden" name="inatv" id="inatv" value="0"> 

   	    <br />
   	  </p>
   	  <input type="submit" value="Enviar Pesquisa">
	</fieldset>	
</form>